package com.atguigu.eduservice.entity;

import com.atguigu.eduservice.toming.*;
import lombok.Data;

/**
 * @ClassName User
 * @Description: TODO
 * @Author: NeySun
 * @Create: 2022-10-31 14:19
 * @Version 1.0
 **/
@Data
public class User {

    //@Desensitization(ChineseNameDesensitization.class)
    @Sensitive(strategy = SensitiveStrategy.USERNAME)
    private String name;

    private Integer age;
    @Sensitive(strategy = SensitiveStrategy.ID_CARD)
    private String idCard;

    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String mobilePhone;

}
